package cn.t.converter.sku;

import cn.t.core.converter.CoreDTOConverter;
import cn.t.dto.sku.CustomerSkuDTO;
import cn.t.model.sku.CustomerSkuDO;
import cn.t.request.CreateCustomerSkuReq;
import cn.t.vo.sku.CustomerSkuVO;
import org.mapstruct.Mapper;

import java.util.List;

/**
 * 客户商品映射表(CustomerSku)dto转domain
 *
 * @author t
 * @since 2024-05-24 10:19:33
 */
@Mapper(componentModel = "spring")
public interface CustomerSkuDTOConverter extends CoreDTOConverter<CustomerSkuDTO, CustomerSkuDO> {

    List<CustomerSkuDO> createParam2do(List<CreateCustomerSkuReq> customerSkus);

    List<CustomerSkuVO> do2Vo(List<CustomerSkuDO> list);
}

